<ion-header>
  <ion-navbar>
    <ion-title>修改登录密码</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <div class="g-panel no-padding register-list">
    <form [formGroup]="form" novalidate>
      <ion-item>
        <ion-label>原密码</ion-label>
        <ion-input placeholder="请输入原始密码" type="password" formControlName="oldPassword"></ion-input>
      </ion-item>

      <ion-item>
        <ion-label>新密码</ion-label>
        <ion-input placeholder="请输入新密码" type="password" formControlName="newPassword"></ion-input>
      </ion-item>

      <ion-item>
        <ion-label>确认新密码</ion-label>
        <ion-input placeholder="请再次输入新密码" type="password" formControlName="newPasswordConfirm"></ion-input>
      </ion-item>

    </form>
  </div>
</ion-content>

<ion-footer class="g-footer-button primary small">
  <button ion-button class="g-button" (click)="submit()">确认修改</button>
</ion-footer>

